package com.wynet.shopsapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("t_service")
@NoArgsConstructor
public class Service {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String ser_name;

    public Service(String ser_name) {
        this.ser_name = ser_name;
    }
}
